<!DOCTYPE html>
<html>

<head>
	<meta charset="utf-8">
	<meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0" />
	<meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
	<title>欢迎页</title>
	<link rel="stylesheet" href="../../css/api.css" />
	<link rel="stylesheet" href="../../css/aui-slide.css">
	<style type="text/css">
		html,
		body {
			height: 100%;
			background: transparent;
			margin: 0;
		}

		header {
			height: 50px;
			position: relative;
		}

		.skip {
			position: absolute;
			top: 3rem;
			right: 15px;
			width: 60px;
			height: 26px;
			line-height: 26px;
			border: solid rgb(211, 211, 211) 0px;
			border-radius: 6px;
			color: #000;
			font-size: 16px;
			text-align: center;
			font-size: 0.8rem;
			background: #1eafd1;
		}

		.skip>span {
			color: #fff;
		}

		.skip>img {
			padding-top: 12px;
			vertical-align: top;
			height: 13px;
		}

		.start {
			position: absolute;
			left: 50%;
			bottom: 44px;
			width: 124px;
			height: 44px;
			background: #1b5a75;
			border-radius: 6px;
			-webkit-transform: translateX(-50%);
			transform: translateX(-50%);
			line-height: 44px;
			color: #fff;
			font-size: 16px;
			text-align: center;
		}

		img {
			width: 100%;
		}
	</style>
</head>

<body>
	<div id="aui-slide3">
		<div class="aui-slide-wrap">
			<div class="aui-slide-node bg-dark">
				<img src="../../image/welcome/welcome1.png" />
			</div>
			<div class="aui-slide-node bg-dark">
				<img src="../../image/welcome/welcome2.png" />
			</div>
			<div class="aui-slide-node bg-dark">
				<img src="../../image/welcome/welcome3.png" />
				<div class="start" tapmode onclick="fnStart();">立即启动</div>
			</div>
		</div>
	</div>
</body>

</html>
<script type="text/javascript" src="../../script/aui/api.js"></script>
<script type="text/javascript" src="../../script/common.js"></script>
<script type="text/javascript" src="../../script/aui/aui-slide.js"></script>
<script type="text/javascript">
	//轮播
	var $body = $api.dom('body');
	var body_h = $api.offset($api.dom('body')).h;
	apiready = function() {
			api.parseTapmode();

			exitApp();
			var slide3 = new auiSlide({
				container: document.getElementById("aui-slide3"),
				"height": body_h,
				"speed": 500,
				"pageShow": false,
				"loop": false
			});
	};
	//立即启动
	function fnStart() {
			var name = 'login',
				url = '../login/login.html';
			$api.setStorage('welcome', 1);
			openWin(name, url);
	}
</script>
